package com.sdonkey.score.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author mengxue 2016年1月4日
 */
public class Tad implements Serializable {
	private static final long serialVersionUID = 5360703875544377124L;

	// id
	private long id;
	// 广告名称
	private String name;
	// 广告类型 1：视频 2:图片
	private String adType;
	// 广告分类类型
	private String adClassify;
	// 广告关键字分类
	private String adKey;
	// 广告描述
	private String description;
	// 广告时长
	private String duration;
	// 广告张数
	private int pictureNum;
	// 手机版资源地址(URL)
	private String mobileVersionUrl;
	// PC版资源地址(URL)
	private String pcVersionUrl;
	// pad版资源地址(URL)
	private String padVersionUrl;
	// 互联网电视版资源地址(URL)
	private String tvVersionUrl;
	// 操作人
	private String userId;
	// 创建时间
	private Date createTime;
	// 更新时间
	private Date updateTime;
	// (0：审核中、1：上线、2：已审核、3：下线、4：余额不足5：推广结束)
	// (0:待审核、1：未审核、2：待投放、3：投放中、4：已下架、5：已删除)
	private String status;
	// 广告封面图片
	private String adHomepage;
	// 手机资源大小
	private String mobileSize;
	// pc版资源大小
	private String pcSize;
	// pad版资源大小
	private String padSize;
	// 互联网电视版资源大小
	private String tvSize;
	// 广告资源(URL)
	private String advUrl;
	// 终端类型
	private String terminalType;
	//
	private int adId;
	//
	private Date putStartTime;
	//
	private Date putEndTime;

	// 广告编码
	private String advertiserCode;
	// 0否 1是
	private Integer isTop;
	// 审核状态 1 已通过 0 未通过 2 待审核
	private String checkStatus;
	// 1上架0 下架
	private String groundingStatus;

	public Tad() {
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getId() {
		return this.id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	public void setAdType(String adType) {
		this.adType = adType;
	}

	public String getAdType() {
		return this.adType;
	}

	public void setAdClassify(String adClassify) {
		this.adClassify = adClassify;
	}

	public String getAdClassify() {
		return this.adClassify;
	}

	public void setAdKey(String adKey) {
		this.adKey = adKey;
	}

	public String getAdKey() {
		return this.adKey;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getDuration() {
		return this.duration;
	}

	public void setPictureNum(int pictureNum) {
		this.pictureNum = pictureNum;
	}

	public int getPictureNum() {
		return this.pictureNum;
	}

	public void setMobileVersionUrl(String mobileVersionUrl) {
		this.mobileVersionUrl = mobileVersionUrl;
	}

	public String getMobileVersionUrl() {
		return this.mobileVersionUrl;
	}

	public void setPcVersionUrl(String pcVersionUrl) {
		this.pcVersionUrl = pcVersionUrl;
	}

	public String getPcVersionUrl() {
		return this.pcVersionUrl;
	}

	public void setPadVersionUrl(String padVersionUrl) {
		this.padVersionUrl = padVersionUrl;
	}

	public String getPadVersionUrl() {
		return this.padVersionUrl;
	}

	public void setTvVersionUrl(String tvVersionUrl) {
		this.tvVersionUrl = tvVersionUrl;
	}

	public String getTvVersionUrl() {
		return this.tvVersionUrl;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserId() {
		return this.userId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return this.status;
	}

	public void setAdHomepage(String adHomepage) {
		this.adHomepage = adHomepage;
	}

	public String getAdHomepage() {
		return this.adHomepage;
	}

	public void setMobileSize(String mobileSize) {
		this.mobileSize = mobileSize;
	}

	public String getMobileSize() {
		return this.mobileSize;
	}

	public void setPcSize(String pcSize) {
		this.pcSize = pcSize;
	}

	public String getPcSize() {
		return this.pcSize;
	}

	public void setPadSize(String padSize) {
		this.padSize = padSize;
	}

	public String getPadSize() {
		return this.padSize;
	}

	public void setTvSize(String tvSize) {
		this.tvSize = tvSize;
	}

	public String getTvSize() {
		return this.tvSize;
	}

	public void setAdvUrl(String advUrl) {
		this.advUrl = advUrl;
	}

	public String getAdvUrl() {
		return this.advUrl;
	}

	public void setTerminalType(String terminalType) {
		this.terminalType = terminalType;
	}

	public String getTerminalType() {
		return this.terminalType;
	}

	public void setAdId(int adId) {
		this.adId = adId;
	}

	public int getAdId() {
		return this.adId;
	}

	public Date getPutStartTime() {
		return putStartTime;
	}

	public void setPutStartTime(Date putStartTime) {
		this.putStartTime = putStartTime;
	}

	public Date getPutEndTime() {
		return putEndTime;
	}

	public void setPutEndTime(Date putEndTime) {
		this.putEndTime = putEndTime;
	}

	public String getAdvertiserCode() {
		return advertiserCode;
	}

	public void setAdvertiserCode(String advertiserCode) {
		this.advertiserCode = advertiserCode;
	}

	public Integer getIsTop() {
		return isTop;
	}

	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}

	public String getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getGroundingStatus() {
		return groundingStatus;
	}

	public void setGroundingStatus(String groundingStatus) {
		this.groundingStatus = groundingStatus;
	}

	@Override
	public String toString() {
		return "Tad [id=" + id + ", name=" + name + ", adType=" + adType
				+ ", adClassify=" + adClassify + ", adKey=" + adKey
				+ ", description=" + description + ", duration=" + duration
				+ ", pictureNum=" + pictureNum + ", mobileVersionUrl="
				+ mobileVersionUrl + ", pcVersionUrl=" + pcVersionUrl
				+ ", padVersionUrl=" + padVersionUrl + ", tvVersionUrl="
				+ tvVersionUrl + ", userId=" + userId + ", createTime="
				+ createTime + ", updateTime=" + updateTime + ", status="
				+ status + ", adHomepage=" + adHomepage + ", mobileSize="
				+ mobileSize + ", pcSize=" + pcSize + ", padSize=" + padSize
				+ ", tvSize=" + tvSize + ", advUrl=" + advUrl
				+ ", terminalType=" + terminalType + ", adId=" + adId
				+ ", putStartTime=" + putStartTime + ", putEndTime="
				+ putEndTime + ", advertiserCode=" + advertiserCode
				+ ", isTop=" + isTop + ", checkStatus=" + checkStatus
				+ ", groundingStatus=" + groundingStatus + "]";
	}

}
